package cn.le.aopAnnotationDataSource.annotation;

import java.lang.annotation.*;

/**
 * Created by admin on 2017/3/24.
 *  最小长度校验注解
 */
@Target(ElementType.FIELD)
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface MinSize {
    public int min() default 5;
    public String message() default "长度太短";
}
